Loosen check that insisted that time travels only forward when reading NMEA
authorrobertl <robertl>
Thu, 13 Jul 2006 19:59:36 +0000 (19:59 +0000)
committerrobertl <robertl>
Thu, 13 Jul 2006 19:59:36 +0000 (19:59 +0000)
files.  From Andy Armstrong.

nmea.c

diff --git a/nmea.c b/nmea.c
index f2b6f6fcb66e2c4851efebaf9c035d2bbb9b795e..cc4e304692b32189b7ace5d79aacde810ebe372c 100644 (file)
--- a/nmea.c
+++ b/nmea.c
@@ -735,7 +735,7 @@ nmea_read(void)
 
        while ((ibuf = textfile_read(tin))) {
                nmea_parse_one_line(ibuf);
-               if (lt < last_read_time && curr_waypt && trk_head) {
+               if (lt != last_read_time && curr_waypt && trk_head) {
                        if (curr_waypt != last_waypt) {
                                track_add_wpt(trk_head, curr_waypt);
                                last_waypt = curr_waypt;